use json;
use json::object;

fn main() {
    println!("Hello, world!");

    let parsed = json::parse(r#"
    {
        "code": 200
    }
    "#).unwrap();

    println!("{:?}", parsed);

    let mut data = object!{
        "foo" => false,
        "bar" => json::Null
    };
    println!("{:?}", data);

    let dump = json::stringify(data);
    println!("dump: {:?}", dump);
}
